/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package knazzy;

import com.jgoodies.looks.plastic.PlasticLookAndFeel;
import com.jgoodies.looks.plastic.PlasticXPLookAndFeel;
import com.jgoodies.looks.plastic.theme.DesertGreen;
import java.awt.Toolkit;
import javax.swing.UIManager;
import knazzy.gui.MainView;

/**
 *
 * @author 76167
 */
public class Main {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        try {
            PlasticLookAndFeel.setPlasticTheme(new DesertGreen());
            UIManager.setLookAndFeel(new PlasticXPLookAndFeel());
        } catch (Exception e) {}

        MainView mw = new MainView();
        mw.setVisible(true);
        //Center screen
        mw.setLocation((int)((Toolkit.getDefaultToolkit().getScreenSize().width/2)-(mw.getSize().getWidth()/2)),
                (int)((Toolkit.getDefaultToolkit().getScreenSize().height/2)-(mw.getSize().getHeight()/2)));


        
        //Test of functions
        //Test end
    }

}
